/<template>
  <div>
      <header>收货地址</header>
        <main>
            <List :list="list"></List>
        </main>
        <footer>
            <button>添加收货地址</button>
        </footer>
  </div>
</template>

<script>
import List from './List.vue'
export default {
    data(){
        return{
            flag:false,
            title:'新增收货地址',
            list:[
                {
                    addressDetail: "八维",
                    areaCode: "110101",
                    city: "北京市",
                    county: "东城区",
                    isDefault: true,
                    name: "卡瓦",
                    postalCode: "100000",
                    province: "北京市",
                    tel: "16112341234",
                }
            ],
            index:0,
        }
    },
    components: {
        List
    },
}
</script>

<style>
header{
    width: 100%;
    height: 50px;
    background: red;
    color: white;
    line-height: 50px;
    text-align: center;
}
</style>